﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.DataBase.MyProject.Domain.productionworkorder
{
    /// <summary>
    ///质检工单基本信息
    /// </summary>
    public class QualityInspectionWorkOrder
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int QualityInspectionWorkOrderId {  get; set; }

        /// <summary>
        /// 质检工单主题（必填）
        /// </summary>
        public string QualityInspectionWorkOrderSubject { get; set; }

        /// <summary>
        /// 质检工单编号（默认值：ZJGD20221546，必填）
        /// </summary>
        public string QualityInspectionWorkOrderNumber { get; set; } 

        /// <summary>
        /// 来源工单（默认值：GD00023）
        /// </summary>
        public string SourceWorkOrder { get; set; }

        /// <summary>
        /// 生产物品（默认值：一吃就长胖巧克力）
        /// </summary>
        public string ProductionItem { get; set; }

        /// <summary>
        /// 质检负责人
        /// </summary>
        public string QualityInspectionResponsiblePerson { get; set; }

        /// <summary>
        /// 质检部门
        /// </summary>
        public string QualityInspectionDepartment { get; set; }

        /// <summary>
        /// 工序数量（默认值：20）
        /// </summary>
        public int ProcessQuantity { get; set; }

        /// <summary>
        /// 备注信息
        /// </summary>
        public string ZJRemarks { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public bool Status {  get; set; }=false;
        /// <summary>
        /// 报工次数
        /// </summary>
       public int? BaoGongNumber { get; set; }
        /// <summary>
        /// 质检次数
        /// </summary>
        public int? ZhiJianNumber { get; set; }
        /// <summary>
        /// 删除标识符
        /// </summary>
        public bool IsDel {  get; set; }=false;



    }



}
